package com.yuyou.train.user.mapper;

import com.yuyou.train.user.vo.resp.RespUserLookTop;
import org.apache.ibatis.annotations.Mapper;

import com.yuyou.train.service.api.user.entity.UserLook;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserLookMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserLook record);

    UserLook selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserLook record);
    
    UserLook selectByForeignId(String foreignId);

    List<RespUserLookTop> findUserLookTop(@Param(value = "classId")String classId, @Param(value = "type") String type);
}